package com.wisdomparking.dao.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.wisdomparking.bean.VehicleInfo;

@Mapper
public interface VehicleInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(VehicleInfo record);

    int insertSelective(VehicleInfo record);

    VehicleInfo selectByPrimaryKey(Integer id);
    
    VehicleInfo selectByPlateNumber(String plateNumber);
    
    int updateByPrimaryKeySelective(VehicleInfo record);

    int updateByPrimaryKey(VehicleInfo record);
    
    List<VehicleInfo> getVehicleInfoList(Map<String, Object> map);
    
    long getCountByVehicleInfo(Map<String, Object> map);
}